<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" th:href="@{/favicon.ico}" type="image/x-icon">
    <title>发布文章</title>
</head>
<body>
    <div style="margin-left: 200px">
        <h3>编辑文章</h3>
        <form th:action="@{/article/edit}" method="post">
            <table>
                <tr>
                    <td>标题</td>
                    <td><input type="text" name="title" th:value="${article.title}"/></td>
                </tr>
                <tr>
                    <td>副标题</td>
                    <td><input type="text" name="summary" size="50" th:value="${article.summary}"></td>
                </tr>
                <tr>
                    <td>内容</td>
                    <td><textarea name="content" rows="20" cols="60" th:text="${article.content}"></textarea></td>
                </tr>
            </table>
            <br>
            <input type="hidden" name="id" th:value="${article.id}">
            <input type="submit" value="确认修改" style="margin-left: 200px">
        </form>
    </div>
</body>
</html>